package com.cu.common;

import com.baomidou.mybatisplus.annotation.TableLogic;
import jakarta.validation.constraints.NotNull;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.Date;

//@ApiModel("基础类")
public class BaseEntity {

    /**
     *
     */
    @NotNull(message = "[]不能为空")
    //@ApiModelProperty("")
    private Long id;
    /**
     *
     */
    // @ApiModelProperty("")
    private LocalDateTime createTime;
    /**
     *
     */
    // @ApiModelProperty("")
    private Long createrId;
    /**
     *
     */
    //@ApiModelProperty("")
    private LocalDateTime modifyTime;
    /**
     *
     */
    //@ApiModelProperty("")
    private Long modifyId;
    /**
     *
     */
    @TableLogic
    // @ApiModelProperty("")
    private Integer isDeleted;
}
